/**
 * Copyright (c) 2023 myons Inc. All rights reserved.
 */
package cn.zmwh.common.core.exception;

import cn.zmwh.common.core.api.BaseErrorCode;
import lombok.Getter;

/**
 * @author dmzmwh
 * @date 2018-11-23
 * 统一异常处理
 */
@Getter
public class RRException extends RuntimeException {

    private Integer status = BaseErrorCode.UNKNOWN;

    public RRException(String msg) {
        super(msg);
    }

    public RRException(Integer status, String msg) {
        super(msg);
        this.status = status;
    }

}
